WP_Defender\Component\Login_Lockout S

Total Complexity 49
Dependencies 8
Dependents 1
Total lines 370
Lines of code 226
Logical lines of code 133
Comment lines 83
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
process_fail_attempt()
A
42 9 50
log_event()
A
45 9 41
show_attempt_left()
A
46 9 40
process_fail_attempt_compatibility()
S
58 3 16
check_meta_data()
S
65 4 9
get_max_attempt()
S
63 4 10
add_hooks()
S
61 3 11
two_factor_lockout()
S
56 2 17
clear_login_attempt()
S
64 3 10
__construct()
S
65 1 9
create_blocked_lockout()
S
74 1 5
record_fail_attempt()
S
67 1 8